package
{
	import flash.display.FrameLabel;
	import flash.display.Loader;
	import flash.display.Sprite;
	import flash.display.Stage;
	import flash.events.Event;
	import flash.events.IOErrorEvent;
	import flash.net.URLLoader;
	import flash.net.URLLoaderDataFormat;
	import flash.net.URLRequest;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	
	import org.ace.astar.Grid;
	import org.ace.astar.MapDataUtils;
	import org.ace.communicate.SocketCommunicate;
	import org.ace.loading;
	import org.ace.model.SocketModel;
	import org.ace.view.GameSceneHandler;
	import org.ace.view.IMHandler;
	import org.ace.view.Loading;
	import org.ace.view.LoginHandler;

	[SWF(width="960",height="560",frameRate="32",backgroundColor ="0x0")]
	public class MyGameDemo extends Sprite
	{
			public static var view:Sprite=new Sprite();
			public static var mView:Sprite=new Sprite();
			public static var battleView:Sprite=new Sprite();
			public function MyGameDemo()
			{
				super();
				addChild(view);
				addChild(battleView);
				addChild(mView);
				//////增加Loading 一定放在最上层/////////
				addChild(Loading.getInstance());
				SocketCommunicate.getSocket();
//				IMHandler.getIm();
				//addChild(GameSceneHandler.getScene());

			}
	}
}